package com.hospital.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
public class IController {

    @RequestMapping("/")
    public String index() {
        return "index";
    }

    @RequestMapping("/login")
    public String to_login() {
        return "login";
    }

    @RequestMapping("/register")
    public String to_register() {
        return "register";
    }

    @RequestMapping("/admin/home")
    public String to_admin_home() {
        return "admin_home";
    }

    @RequestMapping("/doctor/home")
    public String to_doctor_home() {
        return "doctor_home";
    }

    @RequestMapping("/patient/home")
    public String to_patient_home() {
        return "patient_home";
    }

    @RequestMapping("/test-login")
    public String test_login() {
        return "test-login";
    }

    @RequestMapping("/simple-test")
    public String simple_test() {
        return "simple-test";
    }

    @RequestMapping("/debug-login")
    public String debug_login() {
        return "debug-login";
    }

    @RequestMapping("/comprehensive-test")
    public String comprehensive_test() {
        return "comprehensive-test";
    }

    @RequestMapping("/department-test")
    public String department_test() {
        return "department-test";
    }

    @RequestMapping("/debug-departments")
    public String debug_departments() {
        return "debug-departments";
    }

}
